package com.atde._04_structural_design_patterns.facade;


/**
 * @BelongsProject: hsp_java_design_mode
 * @BelongsPackage: com.atde._04_structural_design_patterns.facade
 * @Author: Del
 * @CreateTime: 2025-06-23  09:24
 * @Description: 外观模式 --- 立体声
 * @Version: 1.0
 */
public class Stereo {
    private final static Stereo instance = new Stereo();

    private Stereo() {}

    public static Stereo getInstance() {
        return instance;
    }

    public void on() {
        System.out.println("打开立体声......");
    }

    public void off() {
        System.out.println("关闭立体声......");
    }

    public void up() {
        System.out.println("立体声调高......");
    }

    public void down() {
        System.out.println("立体声调低......");
    }
}
